/*******************************************************************************
 * Package: com.hngtrust.iir.user.controller.vo
 * Type:    ViewCollectVO
 * Date:    2021/3/16 20:42
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.user.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 收藏数据
 *
 * @author Keqiwei
 * @date 2021/3/16 20:42
 */
@ApiModel(description = "收藏数据")
@Data
public class ViewCollectVO {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 公司ID
     */
    @ApiModelProperty(value = "公司ID")
    @NotNull(message = "公司id不能为空")
    private Long compId;
    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称")
    @NotBlank(message = "公司名不能为空")
    private String compName;
    /**
     * 分组信息id
     */
    @ApiModelProperty(value = "分组信息id")
    @NotNull(message = "分组不能为空")
    private Long groupingId;
}
